<!DOCTYPE html>
<html>
<head>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>弹出框-新增规则</title>
	<link href="/static/css/controls.css" rel="stylesheet">
	<link href="/static/css/engine.css" rel="stylesheet">
	<script src="/bower_components/requirejs/require.js" data-main="/static/app.js"
			data-bootstrap-modules="'system/userManagement/CopyRuleModule'"></script>
</head>
<body style="height: auto" ng-controller="CopyRuleController" >
<!--弹出框内容-->
<div class="engine-popup" ng-cloak>
	<div class="attribute-form-group">
		<div class="attribute-form-group-l">规则包：</div>
		<div class="attribute-form-group-r">
			<select ng-model="packageId" name="packageId" ng-change="setAss(packageId)">
				<option ng-repeat="package in packages"  value="{{package.id}}">{{package.name}}</option>
			</select>
		</div>
		<div class="clear"></div>
	</div>
	<!--表单-->
		<div class="attribute-form-group">
			<div class="attribute-form-group-l">规则集：</div>
			<div class="attribute-form-group-r">
				<select ng-model="rule.ruleAssemblyId" name="ruleAssemblyId">
					<option ng-repeat="assembly in ass"   value="{{assembly.id}}">{{assembly.name}}</option>
				</select>
			</div>
			<div class="clear"></div>
		</div>
		<div class="attribute-form-group">
			<div class="attribute-form-group-l">规则名：</div>
			<div class="attribute-form-group-r">
				<input type="text" class=""  placeholder="规则名" name="name" ng-model="rule.name">
			</div>
			<div class="clear"></div>
		</div>
		<div class="attribute-form-group">
			<div class="attribute-form-group-l">描述：</div>
			<div class="attribute-form-group-r">
				<textarea class="" name="remark" rows="3" ng-model="rule.remark"></textarea>
			</div>
			<div class="clear"></div>
		</div>
		<div class="tck-line"></div>
		<div class="tck-b">
			<button type="button" class="engine-btn-default" ng-click="confirm()">确认</button>
			<button type="button" class="engine-btn-default" ng-click="cancel()">取消</button>
		</div>
</div>
<!--弹出框内容结束-->
</body>
</html>